gtk-demo: Make the words demo expand
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jul 2020 21:54:27 +0000 (17:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jul 2020 21:54:27 +0000 (17:54 -0400)
We want to fill the window here.

demos/gtk-demo/listview_words.c

index 5dd5ed324e62917f584c4f9f499557d9c194f911..be556696cf7cefb6f5e3a196bdcab6dc64ee8d6d 100644 (file)
@@ -215,6 +215,7 @@ do_listview_words (GtkWidget *do_widget)
       gtk_overlay_add_overlay (GTK_OVERLAY (overlay), progress);
 
       sw = gtk_scrolled_window_new ();
+      gtk_widget_set_vexpand (sw, TRUE);
       gtk_overlay_set_child (GTK_OVERLAY (overlay), sw);
 
       listview = gtk_list_view_new_with_factory (